package com.building.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.building.entity.ShoppingOrder;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
@author yinjiahui
@create 2021-04-11 17:11
*/
@Mapper
public interface ShoppingOrderMapper extends BaseMapper<ShoppingOrder> {
    int updateBatch(List<ShoppingOrder> list);

    int updateBatchSelective(List<ShoppingOrder> list);

    int batchInsert(@Param("list") List<ShoppingOrder> list);

    int insertOrUpdate(ShoppingOrder record);

    int insertOrUpdateSelective(ShoppingOrder record);
}